
extern "C" {
    fn free(_: *mut ());
    fn memset(_: *mut (), _: i32, _: u64) -> *mut ();
}
pub type size_t = u64;
#[no_mangle]
pub extern "C" fn freezero(mut ptr: *mut (), mut size: size_t) {
    if !ptr.is_null() {
        (unsafe { memset(ptr, 0, size) });
        (unsafe { free(ptr) });
    }
}
